package org.wak.dialog.event
{
	import flash.events.Event;

	/**
	 * This event is trigered when a call Topic action is made.
	 * 
	 */	
	public class PuzzleActionEvent extends Event
	{
		public static const PUZZLE_ACTION_EVENT:String = "puzzle_action_event" ;
		
		private var mFunctionName:String = "" ;
		
		public function PuzzleActionEvent(type:String, pFuncName:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			mFunctionName = pFuncName ;
		}
		
		/**
		 *  
		 * @return String with the method name to call in the puzzle managers. 
		 * 
		 */		
		public function get methodName():String
		{
			return mFunctionName ;
		}
		
	}
}